package com.coocaa.ops.admin.v1.auth.sys.biz.impl;

import com.coocaa.ops.admin.v1.auth.sys.biz.ISysDeptBiz;
import com.coocaa.ops.admin.v1.auth.sys.mapper.ISysDeptMapper;
import com.coocaa.ops.common.core.base.BaseBizImpl;
import com.coocaa.ops.common.core.biz.auth.entity.SysDeptEntity;
import org.springframework.stereotype.Service;

/**
 * @author bijiahao
 * @date : 2019/3/12.
 * @description
 */
@Service
public class SysDeptBizImpl extends BaseBizImpl<ISysDeptMapper, SysDeptEntity> implements ISysDeptBiz {

    @Override
    public SysDeptEntity add(SysDeptEntity entity) {
        getMapper().insert(entity);
        return entity;
    }
}
